package com.beijiteshop.shop.ui.search.repo

import com.beijiteshop.libcommon.network.ext.BaseRsp
import com.beijiteshop.shop.model.api.response.PageDataBean
import com.beijiteshop.shop.model.api.response.ProductBean
import retrofit2.Call
import retrofit2.http.GET
import retrofit2.http.Query

/**
 * @Author LiaoZhongKai
 * @Date 2021/3/16 14:50
 * @Description
 */
interface SearchService {

    @GET("/api/goods/getsearchgoods")
    fun search(@Query("page") page: Int,@Query("goodName") goodName: String): Call<BaseRsp<PageDataBean<MutableList<ProductBean>>>>
}